<template>
	<view class="content">
		<web-view v-if="signUrl" :src="signUrl" ref="webView" id="webViewSign"></web-view>
	</view>
</template>

<script setup lang="ts">
import {onLoad} from "@dcloudio/uni-app"
import {ref, reactive, onBeforeUnmount} from 'vue'

const signUrl = ref('')
const form = reactive({
	timer:null,
	startTime:0,
	id : uni.getStorageSync('userId')
})
onLoad((options)=>{
	signUrl.value = decodeURIComponent(options.url)
})

onBeforeUnmount(()=>{
	clearTimeout(form.timer)
})

</script>
<style>
</style>